<?php


return [
    '' => [
        \app\common\middleware\FaconfigInitialize::class,
    ],
    'bot' => [
        \plugin\wechat\app\bot\middleware\DataInit::class,
    ],
    'platform' => [
        \plugin\wechat\app\platform\middleware\AppInit::class,
    ],
    'admin' => [
        \plugin\wechat\app\admin\middleware\CheckAuth::class,
    ],
    'tenant' => [
        \plugin\wechat\app\tenant\middleware\CheckAuth::class,
        \app\common\middleware\PluginCheck::class,
        \plugin\wechat\app\tenant\middleware\CheckApp::class,
    ],
    'wap' => [
        \plugin\wechat\app\wap\middleware\AppInit::class,
    ],
];
